package com.fqgj.xjd.user.dao;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.xjd.user.entity.UserActivityReadEntity;

import java.util.Date;
import java.util.List;

/**
* User: frank
* Date: 2020-04-16
* Time: 12:06:09.283
*/

public interface UserActivityReadDao  extends BaseMapper<UserActivityReadEntity> {

    List<UserActivityReadEntity> getActivityReadByUserCode(String userCode);

    UserActivityReadEntity getActivityReadByUserCodeAndActivityId(Long activityId, String userCode, Date currentDate);

    List<UserActivityReadEntity> getActivityReadByUserCodeAndType(String userCode, Integer type);

}